Skip to main content

/close_shift

Request body:

FieldTypeRequiredFormat / constraints
employeeNamestringNoCashier name
openOrdersOperationstringNoSee value map below

Specific values:

  • openOrdersOperation = delete: delete unclosed orders and continue closing shift.
  • openOrdersOperation = renew: transfer unclosed orders and continue closing shift.
  • openOrdersOperation = check or missing: do not force action, return error if unclosed orders exist.
  • Any other value is treated the same as check.

Success response:

FieldTypeRequiredNotes
shiftIDinteger (int32)NoShift id
fiscalShiftIDstringNoFiscal shift id
fiscalShiftNumstringNoFiscal shift number
shiftOpenAtstringNoShift open time
cashinteger (int64)NoCash balance
saleCountinteger (int32)NoSale count
saleSuminteger (int64)NoSale sum
saleCashSuminteger (int64)NoCash sale sum
saleCashlessSuminteger (int64)NoCashless sale sum
saleCreditSuminteger (int64)NoCredit sale sum
saleBonusSuminteger (int64)NoBonus sale sum
saleVatAmountsarray of VAT entriesNoSale VAT totals
depositCountinteger (int32)NoDeposit count
depositSuminteger (int64)NoDeposit sum
withdrawCountinteger (int32)NoWithdraw count
withdrawSuminteger (int64)NoWithdraw sum
moneyBackCountinteger (int32)NoRefund count
moneyBackSuminteger (int64)NoRefund sum
moneyBackCashSuminteger (int64)NoCash refund sum
moneyBackCashlessSuminteger (int64)NoCashless refund sum
moneyBackCreditSuminteger (int64)NoCredit refund sum
moneyBackBonusSuminteger (int64)NoBonus refund sum
moneyBackVatAmountsarray of VAT entriesNoRefund VAT totals
currency_namestringNoCurrency